//
//  SegmentedControl.m
//  demo
//
//  Created by dllo on 15/7/13.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SegmentedControl.h"

@implementation SegmentedControl
+ (UISegmentedControl *)shareInstance
{
    static SegmentedControl *seg = nil;
    if (seg == nil) {
        seg = [[[SegmentedControl alloc] initWithItems:@[@"国外", @"国内"]] autorelease];
    }
    return seg;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
